﻿using System.Windows;

namespace GameView.Comment
{
    public class CustomFreezable : Freezable
    {
        public static readonly DependencyProperty ValueProperty =
        DependencyProperty.Register("Value", typeof(object), typeof(CustomFreezable));

        public object Value
        {
            get => GetValue(ValueProperty);
            set => SetValue(ValueProperty, value);
        }

        protected override Freezable CreateInstanceCore()
        {
            return new CustomFreezable();
        }
    }
}